# include "rclcpp/rclcpp.hpp"

int main(int argc, char **argv)
{
    rclcpp::init(argc, argv);
    auto node = rclcpp::Node::make_shared("cpp_node");
    RCLCPP_INFO(node->get_logger(), "Hello World!");
    RCLCPP_WARN(node->get_logger(), "错了") ;
    rclcpp::spin(node);
    rclcpp::shutdown();
    return 0;
}